<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      function SuperType() {
        this.color = ["red", "blue"];
      }
      function SubType() {
        // SuperType.call(this);
        SuperType();

        console.log(this);
      }

      let instance1 = new SubType();
      instance1.color.push("pink");
      console.log(instance1.color);
      let instance2 = new SuperType();
      console.log(instance2.color);
    </script>
  </body>
</html>
